//小仓库：layout组件相关的配置仓库
import { ref } from 'vue'
import { defineStore } from 'pinia'

let useLayoutSetting = defineStore('SettingStore', () => {
  //用户控制菜单展开与折叠
  let fold = ref<boolean>(false)
  //用于控制刷新效果
  let refresh = ref<boolean>(false)

  return {
    fold,
    refresh,
  }
})

export default useLayoutSetting
